﻿using SqlSugar;
using System.Runtime.Serialization;

namespace ServiceCore.Entity.Model
{
    /// <summary>
    /// 系统枚举表
    /// </summary>
    [DataContract(IsReference = true)]
    [SugarTable("s_enum")]
    public class EnumInfo
    {
        /// <summary>
        /// 枚举参数
        /// </summary>
        public EnumInfo()
        {
        }

        /// <summary>
        /// 枚举Id
        /// </summary>
        [DataMember]
        public System.String EnumId { get; set; } = "";

        /// <summary>
        /// 枚举父级Id
        /// </summary>
        [DataMember]
        public System.String EnumParentId { get; set; } = "";

        /// <summary>
        /// 枚举值
        /// </summary>
        [DataMember]
        public System.String EnumValue { get; set; } = "";

        /// <summary>
        /// 排序
        /// </summary>
        [DataMember]
        public System.Decimal SortBy { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [DataMember]
        public System.String Remark { get; set; } = "";

    }
}
